<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <androidx.cardview.widget.CardView
        android:layout_marginStart="@dimen/pending_card_view_margin_left"
        android:layout_marginEnd="@dimen/pending_card_view_margin_right"
        android:layout_marginTop="@dimen/pending_card_view_margin_top"
        android:layout_marginBottom="@dimen/pending_card_view_margin_bottom"
        android:elevation="@dimen/pending_card_view_elevation"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <RelativeLayout
            android:id="@+id/each_pending_todo_section"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <TextView
                android:id="@+id/pending_todo_title"
                android:text="@string/pending_todo_demo_title"
                android:textSize="@dimen/pending_todo_title_text_size"
                android:layout_marginStart="@dimen/pending_todo_title_left_margin"
                android:layout_marginBottom="@dimen/pending_todo_title_bottom_margin"
                android:layout_marginEnd="@dimen/pending_todo_title_right_margin"
                android:layout_marginTop="@dimen/pending_todo_title_top_margin"
                android:textStyle="bold"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content" />

            <TextView
                android:id="@+id/pending_todo_content"
                android:text="@string/pending_todo_demo_content"
                android:layout_marginStart="@dimen/pending_todo_content_left_margin"
                android:layout_marginBottom="@dimen/pending_todo_content_bottom_margin"
                android:layout_marginEnd="@dimen/pending_todo_content_right_margin"
                android:layout_below="@+id/pending_todo_title"
                android:textSize="@dimen/pending_todo_content_text_size"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content" />

            <LinearLayout
                android:orientation="horizontal"
                android:layout_alignParentEnd="true"
                android:layout_marginEnd="@dimen/todo_option_margin_right"
                android:layout_marginTop="@dimen/todo_option_margin_top"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content">

                <ImageView
                    android:id="@+id/make_completed"
                    android:src="@drawable/ic_done_todo"
                    android:layout_marginEnd="@dimen/completd_to_img_margin_right"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />

                <ImageView
                    android:id="@+id/option"
                    android:src="@drawable/ic_todo_options"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />

            </LinearLayout>



            <LinearLayout
                android:orientation="horizontal"
                android:layout_marginStart="@dimen/pending_todo_info_section_margin_left"
                android:layout_marginEnd="@dimen/pending_todo_info_section_margin_right"
                android:layout_marginBottom="@dimen/pending_todo_info_section_bottom_margin"
                android:layout_below="@+id/pending_todo_content"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">

                <TextView
                    android:id="@+id/todo_tag"
                    android:text="@string/todo_info_demo_tag_text"
                    android:textSize="@dimen/todo_info_section_text_size"
                    android:layout_marginEnd="@dimen/todo_info_section_text_size"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />

                <TextView
                    android:id="@+id/todo_date"
                    android:text="@string/todo_info_demo_date_text"
                    android:textSize="@dimen/todo_info_section_text_size"
                    android:layout_marginEnd="@dimen/todo_info_section_margin_right"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />

                <TextView
                    android:id="@+id/todo_time"
                    android:text="@string/todo_info_demo_time_from_text"
                    android:textSize="@dimen/todo_info_section_text_size"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />

            </LinearLayout>

        </RelativeLayout>

    </androidx.cardview.widget.CardView>
</LinearLayout>